SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67376: You encounter "syntax error at line 7: `SCRIPT_PATH="$(cd "$' unexpected" when you try to upgrade to PostgreSQL 12 on Solaris for x64 (SAX) platforms

DetailsAboutRate It

When you try to upgrade the SAS® Web Infrastructure Platform Data Server (PostgreSQL) to version 12 on the Solaris for x64 (SAX) platform, an error is thrown from the run.sh upgrade script. You encounter this issue when you submit code similar to the following:

./run.sh --metaserver --metaport --metauser sasadm@saspw --metapass XXXXXX

This code returns the following error:

syntax error at line 7: `SCRIPT_PATH="$(cd "$' unexpected

To work around this issue, edit the first line of the script:

#!/bin/sh

Change it to the following: 

#!/bin/ksh

Then, run the script again.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Infrastructure Platform Data ServerSolaris for x649.4_M69.4_M89.4 TS1M69.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.